package com.ccsc.auth.entity.vo;

import com.ccsc.auth.entity.Resource;

import java.util.List;

/**
 *角色
 * Created by yyangs on 2017/2/10.
 */
public class RoleVo {
    private Integer id;//角色id
    private String name;//角色名称
    private Integer parentId=null;
    private Integer usernumber=0;
    private List<ResourceVo> resourceList;
    private  String description;//描述
    private Integer status;
    private Integer num;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getUsernumber() {
        return usernumber;
    }

    public void setUsernumber(Integer usernumber) {
        this.usernumber = usernumber;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<ResourceVo> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<ResourceVo> resourceList) {
        this.resourceList = resourceList;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
